package com.wgchao.mdmp.repository;

import com.wgchao.mdmp.entity.MdmpHx;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-11-03 
 * @用途  
 */
@Repository
public interface MdmpHxRepository  extends JpaRepository<MdmpHx, Long>, JpaSpecificationExecutor<MdmpHx> {

    MdmpHx findFirstByIdcardAndUpTime(String idcard, Date upTime);
}
